
add_executable(syt fips202.c symmetric-shake.c poly.c main.c)
target_link_libraries(syt common)

add_custom_command(
  TARGET syt POST_BUILD
  COMMAND /home/tianqi/riscv/rv32imc/bin/riscv32-unknown-elf-objcopy -O binary "$<TARGET_FILE:syt>" "$<TARGET_FILE:syt>.bin"
  COMMAND srec_cat "$<TARGET_FILE:syt>.bin" -binary -offset 0x0000 -byte-swap 4 -o "$<TARGET_FILE:syt>.vmem" -vmem
  VERBATIM)
